<div class="pure-table pure-table-horizontal" style="text-align: left;">
    <table>
        <thead>
            <tr>
                <th style="width:30px">#</th>
                <th style="width:70%">标题</th>
                <th style="width:200px;text-align: center">发布日期</th>
                <th style="width:10%;text-align: center">操作</th>
            </tr>
        </thead>

        <?php foreach($data as $d) :?>
        <tbody>
            <tr>
                <td>
                    <a href="<?php echo $this->link("blog:edit", array('id'=> $d['id'])) ?>"><?php echo $d["id"] ?></a>
                </td>
                <td>
                    <a href="<?php echo $this->link("blog:edit", array('id'=> $d['id'])) ?>"><?php echo $d["title"] ?></a>
                </td>
                <td>
                    <?php echo date('Y-m-d H:i:s', $d["ct"]) ?>
                </td>
                <td>
                    <a style="float:right;text-align: right;padding-right: 20px" href="<?php echo $this->link("blog:del", array('id'=> $d['id'])) ?>">删除</a>
                </td>
            </tr>
        </tbody>
        <?php endforeach ?>
    </table>

</div>
<div style="clear:both;padding-top: 10px"><?php $this->page($page) ?></div>
